package edu.psu.geovista.app.pcp.animation;

/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * All Rights Researved.
 *
 * This library is developed and distributed for free usage,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * You can redistribute and/or modify it under the terms of the
 * Simplified BSD License
 *
 *
 *
 *
 *
 *
 *
 *
 * @author: jin Chen 
 * @date: Oct 17, 2003$
 * @version: 1.0
 */

public interface AnimationResponder {
    /**
     * The method is invoked immediately before starting a new animation seesion.
     * Usually do clear up work here
     */
    public abstract void aboutToStartNewSessoin();

    /**
     * It indicate responder to show all previous animated data.
     * However, it doesn't mean the method is  passed all the previous animated data.
     * Instead, only the currently animated data. It is responder's responsibility to keep record what have been passed
     * The method just map to the selection of BhAccumulative in the GUI
     */
    public abstract void doAccumulativeAnimation(float data);


   /**
    * It indicate responder to show only the currently animated data.
    */
    public abstract void doOneByOneAnimation(float data);

}
